home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 5
/
Amiga Tools 5.iso
/
grafik
/
3d & render tools
/
irit
/
man
/
man6
/
tregion.6
< prev
next >
Wrap
Text File
|
1996-07-16
|
1KB
|
31 lines
.TH TREGION
6 "IRIT Version 6.0"
.SH NAME
TREGION
TrivarType TREGION( TrivarType Srf, ConstantType Direction,
NumericType MinParam, NumericType MaxParam )
Extracts a region of TV between MinParam and MaxParam
in the specified Direction. Both MinParam and MaxParam
should be contained in the parametric domain of TV in Direction.
Example:
Tv1 = tbezier( list( list( list( ctlpt( E3, 0.1, 0.0, 0.8 ),
ctlpt( E3, 0.2, 0.1, 2.4 ) ),
list( ctlpt( E3, 0.3, 2.2, 0.2 ),
ctlpt( E3, 0.4, 2.3, 2.0 ) ) ),
list( list( ctlpt( E3, 2.4, 0.8, 0.1 ),
ctlpt( E3, 2.2, 0.7, 2.3 ) ),
list( ctlpt( E3, 2.3, 2.6, 0.5 ),
ctlpt( E3, 2.1, 2.5, 2.7) ) ) ) );
Tv1r1 = TREGION( Tv1, row, 0.1, 0.2 );
Tv1r2 = TREGION( Tv1, row, 0.4, 0.6 );
Tv1r3 = TREGION( Tv1, row, 0.99, 1.0 );
extracts three regions of Tv1 along the ROW direction.